#pragma once
namespace fs = std::experimental::filesystem::v1;
using file_rec = std::pair<std::string, int>;
class scan_files
{
public:
	std::queue<file_rec> dpath;
	std::vector<std::string> filelist;
	void scan_dir(std::string dir_path, int dir_deep);
	void dir_file(fs::path dir, int nDeep);
};
bool loadfile(std::string file_name, std::vector<BYTE> &file_buffer);
bool savefile(std::string file_name, std::vector<BYTE> file_buffer);